const { rmSync } = require("fs");
const http = require("http");

http.get("http://192.168.42.166:3000/?username=zhangsan&age=30", (res) => {
    let str = '';
    res.on("data" , (chunk) => {
        str += chunk;
    })
    res.on("end" , () => {
        console.log(str);
    })
})